package com.ruoyi.system.service;

import com.ruoyi.system.domain.DoctorSchedules;
import com.ruoyi.system.domain.SysDoctorSchedule;
import com.ruoyi.system.domain.SysDoctorScheduleQuery;

import java.util.Date;
import java.util.List;

public interface ISysDoctorScheduleService {
    /**
     * 查询医生排班列表
     */
    List<DoctorSchedules> selectScheduleList(SysDoctorScheduleQuery query);
    /**
     * 查询医生某天排班详情
     */
    SysDoctorSchedule selectScheduleDetail(Long doctorId, Date scheduleDate);

    /**
     * 新增或更新医生排班
     */
    int insertOrUpdateSchedule(SysDoctorSchedule schedule);

    /**
     * 关闭预约
     */
    int closeSchedule(Long doctorId, Date scheduleDate, String period);

    /**
     * 新增排班
     */
    int insertSysDoctorSchedule(SysDoctorSchedule schedule);

}